package com.ruoyi.boat.utils;

import java.util.Objects;

public class ObjectUtil {
    static public Integer getInteger(Integer number, int defaultValue) {
        if (Objects.isNull(number)) return defaultValue;
        return number;
    }
}
